package com.medium.house.service;

import com.medium.house.request.WechatUserRequestDto;
import com.medium.house.vo.WechatSignVO;

/**
 * @Author : wang.yu
 * @Description : 获取微信小程序 (openid/appid/... 等微信相关信息)
 * @Date: Created in 2018/1/30 0030  11:04
 * @Modified By
 */
public interface WechatAuthService {
    /**
     * 获取 openid/session_key
     * @param code
     * @return
     */
    WechatSignVO getWechatAuthSign(String code);

    /**
     * 获取 openid/session_key
     * @param wechatUserRequestDto
     * @return
     */
    WechatSignVO getWechatAuthSign(WechatUserRequestDto wechatUserRequestDto);
}
